/**
 * FatLab SecureShare - Custom Styles
 */

/* Container and Layout */
.secret-share-container {
    padding: 60px 0 80px;
    width: 100%;
}

.secret-share-container .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.secret-share-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Form Styles */
.secret-form-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.secret-textarea,
.secret-display {
    font-family: 'Courier New', monospace;
    resize: vertical;
}

.secret-textarea {
    min-height: 150px;
}

.secret-display {
    background: #fff;
    border: 2px solid #dee2e6;
    min-height: 200px;
}

/* Security Info Box */
.security-info {
    background: #e8f4f8;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.security-info h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-info li {
    padding: 5px 0;
    color: #555;
}

.security-info li i {
    width: 20px;
    color: #007bff;
    margin-right: 10px;
}

/* Success Message */
#secret-url {
    background: #fff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* Secret Display Card */
.secret-display-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.secret-content-wrapper {
    position: relative;
}

/* Security Notice */
.security-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
}

.security-notice h5 {
    color: #856404;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-notice li {
    padding: 5px 0;
    color: #856404;
}

.security-notice li:before {
    content: "•";
    margin-right: 10px;
    font-weight: bold;
}

/* Action Buttons */
.actions {
    display: flex;
    gap: 10px;
}

.actions .btn {
    flex: 1;
}

/* Center the Generate button */
.secret-form-card form {
    text-align: center;
}

.secret-form-card .form-group {
    text-align: left;
}

.secret-form-card .security-info {
    text-align: left;
}

/* Center the Generate button */
#create-btn {
    margin: 20px auto 0;
    display: block;
    min-width: 200px;
}

@media (max-width: 767px) {
    #create-btn {
        width: 100%;
    }
}

/* Loading state */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .secret-share-wrapper {
        padding: 20px;
    }
    
    .secret-form-card {
        padding: 20px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .actions .btn {
        width: 100%;
    }
}

/* Icons (using existing site icons or Unicode) */
.icon-lock:before { content: "🔒 "; }
.icon-clock:before { content: "⏰ "; }
.icon-shield:before { content: "🛡️ "; }
.icon-eye:before { content: "👁️ "; }

/* Animation for copy feedback */
.btn-success {
    transition: all 0.3s ease;
}

/* Character counter */
.form-text {
    text-align: right;
    margin-top: 5px;
}