 .purpose-card input:checked+.purpose-inner {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
        }

        .check-tick {
            display: none;
            position: absolute;
            top: 5px;
            right: 5px;
            background: white;
            color: #667eea;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            text-align: center;
            line-height: 24px;
            font-size: 14px;
        }

        .purpose-card input:checked+.purpose-inner .check-tick {
            display: block;
        }

        .purpose-inner {
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid #e0e0e0;
            text-align: center;
            padding: 5px 40px 8px 10px;
            min-height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }

        .purpose-inner:hover {
            border-color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
        }

        .overflow-checkbox {
            max-height: 400px;
            overflow-y: auto;
        }

        /* Style for the master "Select All" checkbox */
        #selectAllInterests {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        #selectAllInterests+label {
            cursor: pointer;
            font-size: 1.1rem;
            color: #667eea;
        }

        /* Style for others input */
        #othersInput {
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 10px 15px;
            transition: all 0.3s ease;
        }

        #othersInput:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
            outline: none;
        }

        .toggle-password-btn {
            border-color: #ced4da;
            background: #fff;
        }

        .toggle-password-btn:hover {
            background: #f8f9fa;
        }