/* Corp Authentication Common Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #00BFA5 0%, #00695C 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-sub {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ddd;
}

/* for Biz Badge Styles */
.bg-teal {
    background-color: rgb(13, 148, 136);
}

.text-white {
    color: white;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.rounded {
    border-radius: 6px;
}

.text-sm {
    font-size: 14px;
}

.font-semibold {
    font-weight: 600;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-3 {
    gap: 12px;
}

/* Logo link specific styles */
.logo a {
    text-decoration: none;
}

.logo a:hover {
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.header-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #00BFA5;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Common Container & Box Styles */
.auth-container {
    width: 100%;
    max-width: 800px;
}

.auth-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Title Styles */
.auth-title {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-title p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Success Icon */
.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00BFA5 0%, #00695C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    color: white;
    font-size: 24px;
}

/* Alert Styles */
.alert-info {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    color: #1976d2;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-info i {
    color: #2196f3;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.alert-success {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    color: #2e7d32;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-success i {
    color: #4caf50;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Special Information Boxes */
.email-confirmed {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.email-confirmed i {
    color: #4caf50;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.email-confirmed-text {
    flex: 1;
}

.email-confirmed p {
    margin: 5px 0;
    color: #2e7d32;
    font-size: 13px;
    line-height: 1.5;
}

.email-confirmed strong {
    color: #1b5e20;
    font-weight: 500;
    word-break: break-all;
}

.email-address {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 25px;
}

.email-address strong {
    color: #1976d2;
    font-weight: 500;
    word-break: break-all;
    font-size: 15px;
}

.instructions {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.instructions h3 {
    color: #2e7d32;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instructions h3 i {
    color: #4caf50;
}

.instructions ol {
    margin: 0;
    padding-left: 20px;
    color: #2e7d32;
}

.instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}

.warning {
    background: #fff3e0;
    border: 1px solid #ff9800;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #e65100;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning i {
    color: #ff9800;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-text {
    line-height: 1.6;
}

.form-note {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.form-label i {
    margin-right: 6px;
    color: #666;
    font-size: 12px;
}

.required {
    background: #f44336;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 8px;
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #00BFA5;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

.form-control.readonly {
    background: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

.form-control.is-invalid {
    border-color: #f44336;
}

.error-message {
    display: block;
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
}

.form-note-text {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 5px;
}

/* Button Styles */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00BFA5 0%, #00695C 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 191, 165, 0.4);
}

.btn-back {
    width: 100%;
    padding: 14px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-top: 25px;
}

.btn-back:hover {
    background: #eeeeee;
    border-color: #00BFA5;
    color: #00BFA5;
    transform: translateY(-1px);
}

/* Form Actions (for login page) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    gap: 15px;
}

.form-actions .btn-submit {
    width: auto;
    margin-top: 0;
    min-width: 120px;
    padding: 14px 24px;
}

.btn-link {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #00BFA5;
    text-decoration: underline;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-footer p {
    color: #666;
    font-size: 13px;
}

.form-footer a {
    color: #00BFA5;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Plan Selection Specific Styles */
.campaign-banner {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campaign-banner .circle-bg-1 {
    position: absolute;
    top: -20px;
    right: -20px;
    background: rgba(255,255,255,0.2);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.3;
}

.campaign-banner .circle-bg-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(255,255,255,0.1);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.3;
}

.campaign-banner h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.campaign-banner p {
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.plan-cards {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.plan-card {
    flex: 1;
    min-width: 350px;
    max-width: 450px;
    border: 2px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.recommended {
    border-color: #00BFA5;
    position: relative;
}

.plan-header {
    background: #f8f9fa;
    padding: 25px;
    text-align: center;
}

.plan-card.recommended .plan-header {
    background: linear-gradient(135deg, #00BFA5 0%, #00695C 100%);
    color: white;
}

.plan-header h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.plan-header .plan-description {
    font-size: 14px;
    opacity: 0.8;
}

.plan-price {
    margin: 20px 0;
}

.plan-price .monthly {
    font-size: 14px;
    margin-bottom: 5px;
}

.plan-price .amount {
    font-size: 32px;
    font-weight: bold;
    color: #00BFA5;
}

.plan-card.recommended .plan-price .amount {
    color: white;
}

.plan-price .yearly {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

.plan-body {
    padding: 25px;
}

.plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-features i {
    color: #00BFA5;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-features .special {
    background: #FFF9E6;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.plan-features .special.counseling {
    background: #E6FFF6;
}

.plan-form {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section .step-number {
    background: #00BFA5;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.plan-options {
    display: grid;
    gap: 15px;
}

.plan-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-option:hover {
    border-color: #00BFA5;
    background: #f0fff4;
}

.plan-option input[type="radio"] {
    margin: 0;
}

.plan-option.selected {
    border-color: #00BFA5;
    background: #f0fff4;
}

.plan-option-content {
    flex: 1;
}

.plan-option-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.plan-option-price {
    color: #666;
    font-size: 14px;
}

.badge {
    background: #00BFA5;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
}

.badge.discount {
    background: #2196F3;
}

.badge.recommended {
    background: #FFA500;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, #00BFA5 0%, #00695C 100%);
    margin: 20px 0;
    border-radius: 1px;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 12px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .auth-box {
        padding: 30px 20px;
    }

    .auth-title h1 {
        font-size: 20px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions .btn-submit {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .plan-cards {
        flex-direction: column;
    }

    .main-content {
        padding: 20px 15px;
    }
}
