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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 600px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 300;
}

.form-group {
    margin: 25px 0;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.option:last-child {
    margin-bottom: 0;
}

.option input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.option label {
    margin-bottom: 0;
    cursor: pointer;
    flex: 1;
}

button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

button:active {
    transform: translateY(0);
}

.status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.status.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    position: relative;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading::before {
    content: "⏳";
    margin-right: 10px;
    font-size: 1.2em;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Authorizer Page Specific Styles */
.section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 500;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.trusted-issuers-list {
    min-height: 60px;
}

.issuer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.issuer-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.issuer-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #555;
    word-break: break-all;
    flex: 1;
    margin-right: 15px;
}

.remove-button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
}

.remove-button:hover {
    background: #c82333;
    transform: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.no-issuers {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

.action-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    margin-top: 15px;
}

.action-button:hover {
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.nav-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-top: 20px;
}

.nav-button:hover {
    box-shadow: 0 10px 20px rgba(108, 117, 125, 0.3);
}

.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Combined Trusted Issuers Section Styles */
.add-issuer-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5e9;
}

.issuers-list-section h4 {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 500;
}

.input-with-button {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-with-button input {
    flex: 1;
    margin: 0;
}

.add-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
    white-space: nowrap;
}

.add-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.add-button:active {
    transform: translateY(0);
}

.remove-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
    white-space: nowrap;
}

.remove-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #c82333 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.remove-button:active {
    transform: translateY(0);
}

/* Additional Page Styling */
.info-text {
    background-color: #e7f3ff;
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

/* Ensure consistent button styling across all pages */
.action-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    margin-top: 15px;
}

.action-button:hover {
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.nav-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-top: 20px;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Results Section Styles */
.results {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.results h3 {
    color: #28a745;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}

.result-message {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e1e5e9;
    color: #555;
    line-height: 1.5;
}

.result-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.result-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.result-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.sell-offer-info {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.sell-offer-info p {
    margin-bottom: 10px;
    color: #555;
}

.sell-offer-info p:last-child {
    margin-bottom: 0;
}

.info-note {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9em;
}

/* Copy Button Styles */
.copy-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.copy-button.copied {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.copy-button.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Sell Offer Layout Styles */
.sell-offer-row {
    margin-bottom: 15px;
}

.sell-offer-row label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.id-copy-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sell-offer-id-textarea {
    flex: 1;
    min-height: 60px;
    padding: 10px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    resize: vertical;
    background: #f8f9fa;
    color: #333;
    line-height: 1.4;
}

.sell-offer-id-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* NFT Info Styles */
.nft-info {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    margin-top: 20px;
}

.nft-header {
    margin-bottom: 20px;
    text-align: center;
}

.nft-header h4 {
    color: #17a2b8;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.nft-header .important-note {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.sell-offer-header {
    margin-bottom: 20px;
    text-align: center;
}

.sell-offer-header h4 {
    color: #17a2b8;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.sell-offer-header .important-note {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.nft-id-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nft-id-container label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.nft-id-textarea {
    flex: 1;
    min-height: 60px;
    padding: 10px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    resize: vertical;
    background: #f8f9fa;
    color: #333;
    line-height: 1.4;
}

.nft-id-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Credential Image Styles */
.credential-image-container {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e1e5e9;
}

.credential-image-container h4 {
    color: #17a2b8;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.credential-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #e1e5e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* File Upload Styles */
.file-upload-container {
    width: 100%;
}

.drag-drop-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.drag-drop-area:hover {
    border-color: #667eea;
    background-color: #f0f4ff;
}

.drag-drop-area.dragover {
    border-color: #667eea;
    background-color: #e6f3ff;
    transform: scale(1.02);
}

.drag-drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.drag-drop-icon {
    font-size: 2.5em;
    color: #667eea;
    margin-bottom: 10px;
}

.drag-drop-text {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.drag-drop-subtext {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
}

.browse-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.browse-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Image Preview Styles */
.image-preview-container {
    margin-top: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    position: relative;
}

.image-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.remove-image-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

.image-preview-info {
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-filename {
    color: #333;
    font-weight: 500;
    font-size: 0.9em;
    flex: 1;
    margin-right: 10px;
}

.preview-filesize {
    color: #666;
    font-size: 0.8em;
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
}

/* General Page Specific Styles */
.header-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 3.5em;
    color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-section h1 {
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    font-weight: 400;
    margin: 0;
}

.role-selection {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
}

.section-description {
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1em;
    line-height: 1.5;
}

.role-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.role-option {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.role-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.role-option.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.role-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.role-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.role-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.role-icon i {
    font-size: 1.8em;
    color: white;
}

.role-text {
    flex: 1;
}

.role-title {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    cursor: pointer;
}

.role-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.continue-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    font-size: 1.1em;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
}

.continue-btn i {
    font-size: 1.1em;
}

.features-section {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.features-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.4em;
    font-weight: 600;
}

.features-section h3 i {
    color: #ffc107;
    margin-right: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e8f0ff;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 220px;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.feature-item i {
    font-size: 2.5em;
    color: #667eea;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

/* Enhanced status display */
.status {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #bee5eb;
    color: #0c5460;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1em;
}

.status i {
    font-size: 1.2em;
}

/* Subject Page Specific Styles */
.credential-reception {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
}

.info-banner {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1ecf1 100%);
    border: 1px solid #bee5eb;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-banner i {
    color: #0c5460;
    font-size: 1.2em;
    flex-shrink: 0;
}

.info-banner p {
    color: #0c5460;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.credential-reception .form-group {
    margin-bottom: 25px;
}

.credential-reception label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1em;
}

.credential-reception label i {
    color: #667eea;
    font-size: 1.1em;
}

.credential-reception input {
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.credential-reception input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.receive-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    font-size: 1.1em;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.receive-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
}

.receive-btn i {
    font-size: 1.1em;
}

/* Enhanced Results Section */
.results h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #28a745;
    font-size: 1.5em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.results h3 i {
    color: #28a745;
}

.result-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.result-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1em;
}

.result-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.result-link i {
    font-size: 1.1em;
}

/* Enhanced NFT Info Section */
.nft-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
}

.nft-header h4 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
}

.nft-header h4 i {
    color: #667eea;
}

.nft-header .important-note {
    color: #666;
    font-style: italic;
    font-size: 0.95em;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.id-copy-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.nft-id-textarea {
    flex: 1;
    min-height: 80px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
    background: white;
    color: #333;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.nft-id-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.copy-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.copy-button i {
    font-size: 1.1em;
}

/* Enhanced Credential Image Section */
.credential-image-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e8f0ff;
    text-align: center;
}

.credential-image-container h4 {
    color: #667eea;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.credential-image-container h4 i {
    color: #667eea;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.credential-image {
    max-width: 100%;
    max-height: 350px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #e8f0ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Enhanced Navigation Button */
.nav-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-top: 30px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1em;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 117, 125, 0.3);
}

.nav-button i {
    font-size: 1.1em;
}

/* Responsive improvements for Subject page */
@media (max-width: 768px) {
    .credential-reception input {
        padding: 14px 16px;
    }
    
    .receive-btn {
        padding: 16px 25px;
        font-size: 1em;
    }
    
    .nft-info {
        padding: 20px;
    }
    
    .id-copy-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-button {
        width: 100%;
        height: 48px;
    }
    
    .result-link {
        padding: 14px 20px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .credential-reception input {
        padding: 12px 14px;
    }
    
    .nft-info {
        padding: 15px;
    }
    
    .credential-image {
        max-height: 250px;
    }
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .container {
        padding: 25px;
        margin: 15px;
    }
    
    .header-section h1 {
        font-size: 2em;
    }
    
    .logo-icon {
        font-size: 3em;
    }
    
    .role-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .role-icon {
        width: 50px;
        height: 50px;
    }
    
    .role-icon i {
        font-size: 1.5em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .continue-btn {
        padding: 16px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .header-section h1 {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .role-option {
        padding: 15px;
    }
    
    .features-section {
        padding: 20px;
    }
}

/* Issuer Page Specific Styles */
.credential-issuance {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
}

.credential-issuance .section-description {
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1em;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.form-row .form-group {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.form-row .form-group:first-child {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
}

.form-row .form-group:last-child {
    border-color: #764ba2;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.form-row .form-group:first-child::before {
    content: "Issuer Account";
    position: absolute;
    top: -12px;
    left: 15px;
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
}

.form-row .form-group:last-child::before {
    content: "Subject Account";
    position: absolute;
    top: -12px;
    left: 15px;
    background: #764ba2;
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
}

.credential-issuance .form-group {
    margin-bottom: 25px;
}

.credential-issuance label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1em;
}

.credential-issuance label i {
    color: #667eea;
    font-size: 1.1em;
}

.credential-issuance input,
.credential-issuance textarea {
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.credential-issuance input:focus,
.credential-issuance textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.credential-issuance textarea {
    min-height: 120px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
}

.issue-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 1.1em;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.issue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.issue-btn i {
    font-size: 1.1em;
}

/* Enhanced File Upload Styling */
.file-upload-container {
    width: 100%;
}

.drag-drop-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border-color: #667eea;
}

.drag-drop-area:hover {
    border-color: #764ba2;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.drag-drop-area.dragover {
    border-color: #764ba2;
    background: linear-gradient(135deg, #e6f3ff 0%, #d1ecf1 100%);
    transform: scale(1.02);
}

.drag-drop-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.drag-drop-icon {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 10px;
}

.drag-drop-icon i {
    font-size: 1em;
}

.drag-drop-text {
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.drag-drop-subtext {
    font-size: 1em;
    color: #666;
    margin: 0;
}

.browse-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 5px;
}

.browse-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Enhanced Results Section */
.results h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #28a745;
    font-size: 1.5em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.results h3 i {
    color: #28a745;
}

.result-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.result-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1em;
}

.result-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.result-link i {
    font-size: 1.1em;
}

/* Enhanced Sell Offer Info Section */
.sell-offer-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
}

.sell-offer-header h4 {
    color: #667eea;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
}

.sell-offer-header h4 i {
    color: #667eea;
}

.sell-offer-header .important-note {
    color: #666;
    font-style: italic;
    font-size: 0.95em;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.sell-offer-row {
    margin-top: 20px;
}

.id-copy-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sell-offer-id-textarea {
    flex: 1;
    min-height: 80px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
    background: white;
    color: #333;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.sell-offer-id-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.copy-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.copy-button i {
    font-size: 1.1em;
}

/* Enhanced Navigation Button */
.nav-button {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    margin-top: 30px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1em;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 117, 125, 0.3);
}

.nav-button i {
    font-size: 1.1em;
}

/* Responsive improvements for Issuer page */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .credential-issuance input,
    .credential-issuance textarea {
        padding: 14px 16px;
    }
    
    .issue-btn {
        padding: 16px 25px;
        font-size: 1em;
    }
    
    .drag-drop-area {
        padding: 25px 20px;
    }
    
    .drag-drop-icon {
        font-size: 2.5em;
    }
    
    .drag-drop-text {
        font-size: 1.1em;
    }
    
    .sell-offer-info {
        padding: 20px;
    }
    
    .id-copy-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-button {
        width: 100%;
        height: 48px;
    }
    
    .result-link {
        padding: 14px 20px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .credential-issuance input,
    .credential-issuance textarea {
        padding: 12px 14px;
    }
    
    .drag-drop-area {
        padding: 20px 15px;
    }
    
    .drag-drop-icon {
        font-size: 2em;
    }
    
    .drag-drop-text {
        font-size: 1em;
    }
    
    .sell-offer-info {
        padding: 15px;
    }
}

/* Enhanced Authorizer Page Styles */
.issuer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e8f0ff;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.issuer-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.issuer-item.removing {
    transform: translateX(-100%);
    opacity: 0;
}

/* Enhanced Status Display - No More Pulse */
.status {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1em;
    border: 2px solid;
    transition: all 0.3s ease;
}

.status.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-color: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-color: #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.status.loading {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-color: #17a2b8;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.2);
    position: relative;
}

.status.loading::before {
    content: "";
    margin-right: 0;
    font-size: 1.2em;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Remove pulse animation from status */
.status.pulse {
    animation: none;
}

/* Enhanced Trusted Issuers List */
.trusted-issuers-list {
    min-height: 80px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e8f0ff;
    margin-top: 15px;
}

.trusted-issuers-list:empty::after {
    content: "No trusted issuers configured yet";
    display: block;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
    font-size: 1.1em;
}

/* Enhanced Form Styling for Authorizer */
.add-issuer-section .form-group {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e8f0ff;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.05);
    margin-bottom: 20px;
}

.add-issuer-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.add-issuer-section label i {
    color: #667eea;
    font-size: 1.2em;
}

/* Enhanced Button Styling */
.add-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.remove-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.remove-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

/* Enhanced Input Styling */
.add-issuer-section input {
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Courier New', monospace;
}

.add-issuer-section input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.add-issuer-section input::placeholder {
    color: #999;
    font-family: 'Courier New', monospace;
}

/* Responsive improvements for Authorizer page */
@media (max-width: 768px) {
    .add-issuer-section .form-group {
        padding: 20px;
    }
    
    .input-with-button {
        flex-direction: column;
        gap: 15px;
    }
    
    .add-button,
    .remove-button {
        width: 100%;
    }
    
    .issuer-item {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .trusted-issuers-list {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .add-issuer-section .form-group {
        padding: 15px;
    }
    
    .issuer-item {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .status {
        padding: 15px 18px;
        font-size: 1em;
    }
}