* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: #fafafa;
            min-height: 100vh;
            padding: 40px 20px;
            line-height: 1.6;
            color: #1a1a1a;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 640px;
            margin: 0 auto;
        }

        .logo-container {
            text-align: center;
            margin-bottom: 32px;
        }

        .logo {
            width: 160px;
            height: auto;
        }

        .subscription-card {
            background: white;
            border-radius: 16px;
            border: 1px solid #e5e5e5;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .card-header {
            background: linear-gradient(135deg, #040669 0%, #030557 100%);
            padding: 32px;
            text-align: center;
        }

        .card-header h1 {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-size: 22px;
            font-weight: 600;
            color: white;
            margin: 0;
            letter-spacing: -0.02em;
        }

        .card-header i {
            width: 24px;
            height: 24px;
        }

        .card-body {
            padding: 40px;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-label i {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            vertical-align: middle;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            gap: 12px;
        }

        .form-control {
            flex: 1;
            padding: 14px 16px;
            font-size: 14px;
            font-family: inherit;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            transition: all 0.2s ease;
            background: #fafafa;
            color: #1a1a1a;
        }

        .form-control:hover {
            background: #fff;
            border-color: #d0d0d0;
        }

        .form-control:focus {
            outline: none;
            background: #fff;
            border-color: #040669;
            box-shadow: 0 0 0 3px rgba(4, 6, 105, 0.08);
        }

        .form-control::placeholder {
            color: #999;
        }

        .btn-check {
            padding: 14px 28px;
            background: #040669;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .btn-check:hover {
            background: #030557;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(4, 6, 105, 0.25);
        }

        .btn-check i {
            width: 18px;
            height: 18px;
        }

        /* Status Alert */
        .status-alert {
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 24px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 14px;
        }

        .status-alert i {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .alert-success {
            background: #f0fdf4;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .alert-warning {
            background: #fffbeb;
            color: #92400e;
            border: 1px solid #fde68a;
        }

        .alert-danger {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        /* Subscription Details Box */
        .details-box {
            background: #fafafa;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 24px;
            margin-top: 24px;
        }

        .details-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #e5e5e5;
        }

        .details-row:last-child {
            border-bottom: none;
        }

        .details-label {
            font-size: 13px;
            color: #666;
            font-weight: 500;
        }

        .details-value {
            font-size: 14px;
            color: #1a1a1a;
            font-weight: 600;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .status-active {
            background: #dcfce7;
            color: #166534;
        }

        .status-expired {
            background: #fee2e2;
            color: #991b1b;
        }

        .status-expiring {
            background: #fef3c7;
            color: #92400e;
        }

        /* Action Buttons */
        .action-buttons {
            display: grid;
            gap: 12px;
            margin-top: 24px;
        }

        .btn-action {
            padding: 14px 20px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-action i {
            width: 18px;
            height: 18px;
        }

        .btn-primary {
            background: #040669;
            color: white;
        }

        .btn-primary:hover {
            background: #030557;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(4, 6, 105, 0.25);
        }

        .btn-secondary {
            background: #fafafa;
            color: #1a1a1a;
            border: 1px solid #e5e5e5;
        }

        .btn-secondary:hover {
            background: #f0f0f0;
            border-color: #d0d0d0;
        }

        /* Back Link */
        .back-link {
            text-align: center;
            margin-top: 32px;
        }

        .back-link a {
            color: #666;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .back-link a:hover {
            color: #040669;
        }

        /* Theme Toggle */
        .theme-toggle {
            position: fixed;
            top: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: white;
            border: 1px solid #e5e5e5;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .theme-toggle:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        }

        .theme-toggle i {
            color: #040669;
            width: 20px;
            height: 20px;
        }

        /* Dark Mode */
        body.dark-mode {
            background: #0f0f0f;
            color: #e5e5e5;
        }

        body.dark-mode .theme-toggle {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .theme-toggle i {
            color: #fbbf24;
        }

        body.dark-mode .subscription-card {
            background: #1a1a1a;
            border-color: #333;
        }

        body.dark-mode .form-label {
            color: #e5e5e5;
        }

        body.dark-mode .form-control {
            background: #0f0f0f;
            border-color: #333;
            color: #e5e5e5;
        }

        body.dark-mode .form-control:hover {
            background: #1a1a1a;
            border-color: #444;
        }

        body.dark-mode .form-control:focus {
            background: #1a1a1a;
            border-color: #5b6fd8;
            box-shadow: 0 0 0 3px rgba(91, 111, 216, 0.15);
        }

        body.dark-mode .form-control::placeholder {
            color: #666;
        }

        body.dark-mode .details-box {
            background: #0f0f0f;
            border-color: #333;
        }

        body.dark-mode .details-row {
            border-bottom-color: #333;
        }

        body.dark-mode .details-label {
            color: #999;
        }

        body.dark-mode .details-value {
            color: #e5e5e5;
        }

        body.dark-mode .btn-secondary {
            background: #0f0f0f;
            color: #e5e5e5;
            border-color: #333;
        }

        body.dark-mode .btn-secondary:hover {
            background: #262626;
            border-color: #444;
        }

        body.dark-mode .back-link a {
            color: #999;
        }

        body.dark-mode .back-link a:hover {
            color: #5b6fd8;
        }

        @media (max-width: 640px) {
            body {
                padding: 24px 16px;
            }

            .card-body {
                padding: 28px 20px;
            }

            .input-wrapper {
                flex-direction: column;
            }

            .btn-check {
                width: 100%;
                justify-content: center;
            }
        }