        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #f5f5f5;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .container {
            background: white;
            width: 100%;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .header {
            background: #5b317d;
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
        }

        .header-left {
            cursor: pointer;
        }

        .header-center {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 18px;
            font-weight: 600;
        }

        .pi-logo img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 16px;
            color: white;
        }

        .header-right {
            cursor: pointer;
        }

        .content {
            padding: 32px 24px;
        }

        .title {
            text-align: center;
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #1f2937;
        }

        .description {
            text-align: center;
            color: #6b7280;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 32px;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4b5563;
            font-size: 15px;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .label-icon {
            font-size: 18px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .input {
            flex: 1;
            padding: 14px 16px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s;
            outline: none;
        }

        .input:focus {
            border-color: #5b317d;
        }

        .toggle-wrapper {
            display: flex;
            align-items: center;
        }

        .toggle {
            position: relative;
            width: 52px;
            height: 30px;
            background: #5b317d;
            border-radius: 15px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .toggle.off {
            background: #d1d5db;
        }

        .toggle-slider {
            position: absolute;
            top: 3px;
            right: 3px;
            width: 24px;
            height: 24px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s;
        }

        .toggle.off .toggle-slider {
            transform: translateX(-22px);
        }

        .verification-label {
            color: #6b7280;
            font-size: 14px;
            margin-top: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .save-button {
            width: 100%;
            padding: 10px;
            background: #5b317d;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            margin-top: 8px;
        }

        .save-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
        }

        .save-button:active {
            transform: translateY(0);
        }

        .note {
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #e5e7eb;
        }

        .note-title {
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 8px;
            font-size: 15px;
        }

        .note-text {
            color: #6b7280;
            font-size: 14px;
            line-height: 1.6;
        }

        .title {
            text-align: center;
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 32px;
            color: #1f2937;
        }

        .passphrase-box {
            margin-bottom: 12px;
        }

        .passphrase-textarea {
            width: 100%;
            min-height: 180px;
            background: #f9fafb;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            font-size: 15px;
            font-family: 'Courier New', monospace;
            color: #4b5563;
            resize: vertical;
            transition: all 0.3s;
            outline: none;
        }

        .passphrase-textarea:focus {
            border-color: #5b317d;
            background: white;
        }

        .passphrase-textarea.error {
            border-color: #ef4444;
        }

        .passphrase-textarea.success {
            border-color: #10b981;
        }

        .validation-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding: 0 4px;
        }

        .unlock-button {
            width: 100%;
            padding: 15px;
            background: #5b317d;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .ouline-button {
            width: 100%;
            padding: 10px;
            background: transparent;
            color: #6b7280;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }


        .unlock-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
        }

        .unlock-button:active:not(:disabled) {
            transform: translateY(0);
        }

        .unlock-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .info-text {
            color: #6b7280;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .info-text strong {
            color: #1f2937;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            padding: 32px;
            border-radius: 12px;
            max-width: 400px;
            width: 90%;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
            color: #1f2937;
        }

        .modal-text {
            color: #6b7280;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .modal-buttons {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }

        .modal-button {
            padding: 12px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
        }

        .modal-button.primary {
            background: #5b317d;
            color: white;
        }

        .modal-button.secondary {
            background: #f3f4f6;
            color: #4b5563;
        }

        .modal-button:hover {
            transform: translateY(-2px);
        }