/* ========================================
   App Registration Page
   Clean standalone layout for trial signup
   ======================================== */

/* Logo in card */
.app-register__logo {
    display: inline-block;
}

.app-register__logo img {
    height: 40px;
    width: auto;
}

/* App selector */
.app-register__select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dde3eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a3a5c;
    background: #fff;
    appearance: auto;
    transition: border-color 0.2s;
}

.app-register__select:focus {
    border-color: #2ecc71;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

/* Type toggle */
.app-register__type-toggle {
    display: flex;
    gap: 8px;
    background: #f4f6f9;
    padding: 4px;
    border-radius: 10px;
}

.app-register__type-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7b8d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-register__type-btn.active {
    background: #fff;
    color: #1a3a5c;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.app-register__type-btn:hover:not(.active) {
    color: #1a3a5c;
}

.app-register__type-btn i {
    font-size: 14px;
}

/* Form inputs (inherits from login.css / main.css) */
.app-register__form input[type="text"],
.app-register__form input[type="email"],
.app-register__form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dde3eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1a3a5c;
    transition: border-color 0.2s;
}

.app-register__form input:focus {
    border-color: #2ecc71;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

/* Password toggle */
.app-register__form .password-group {
    position: relative;
}

.app-register__form .password-group input {
    padding-right: 42px;
}

.app-register__form .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.app-register__form .toggle-password .eye-icon {
    width: 16px;
    height: 16px;
}

.app-register__form .toggle-password:hover {
    color: #1a3a5c;
}

/* ─── Dynamic App Info Panel ─── */
.app-register__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.app-register__panel-img {
    max-width: 320px;
    margin-bottom: 24px;
}

.app-register__panel-img img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
    transition: opacity 0.3s ease;
}

.app-register__panel-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #fff;
}

.app-register__panel-subtitle {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 20px;
    max-width: 360px;
}

.app-register__panel-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    display: inline-block;
}

.app-register__panel-checklist li {
    font-size: 14px;
    line-height: 1.6;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.app-register__panel-checklist li i {
    color: #2ecc71;
    margin-top: 3px;
    flex-shrink: 0;
}

.app-register__panel-stores {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.app-register__panel-stores a img {
    height: 38px;
    width: auto;
    transition: transform 0.2s;
}

.app-register__panel-stores a:hover img {
    transform: scale(1.05);
}

/* Success redirect */
.app-register__success {
    text-align: center;
    padding: 20px 0;
}

.app-register__success i {
    font-size: 48px;
    color: #2ecc71;
    margin-bottom: 16px;
}

/* Loading state */
#submitBtn.is-loading,
#assignAppBtn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

