/* Penner Auction - Email Signing Page Styles */

#penner-signing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.signing-page {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bill-container {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #333;
}

.bill-container h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.bill-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.bill-details p {
    margin: 10px 0;
    line-height: 1.6;
}

.signature-container {
    margin-bottom: 30px;
}

.signature-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

#signature-pad {
    border: 2px solid #999;
    border-radius: 5px;
    display: block;
    margin-bottom: 10px;
    cursor: crosshair;
    background: white;
    width: 100%;
    max-width: 400px;
}

.signature-controls {
    text-align: right;
    margin-bottom: 20px;
}

.signature-controls button {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #999;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.signature-controls button:hover {
    background: #e0e0e0;
}

.signer-info {
    margin-bottom: 30px;
}

.signer-info label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.signer-info input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.signer-info input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.submit-btn {
    width: 100%;
    background: #0066cc;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #0052a3;
}

.submit-btn:active {
    background: #003d7a;
}

#status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

.error {
    background: #fee;
    color: #c33;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .signing-page {
        padding: 20px;
    }
    
    .bill-container h1 {
        font-size: 22px;
    }
    
    .bill-details {
        font-size: 14px;
    }
    
    #signature-pad {
        width: 100%;
        max-width: 100%;
    }
}

/* Vehicle and Seller Information Sections */
.vehicle-section,
.seller-section,
.buyer-section {
    background: #f0f8ff;
    border-left: 4px solid #667eea;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.vehicle-section h3,
.seller-section h3,
.buyer-section h3 {
    margin-top: 0;
    color: #667eea;
    font-size: 18px;
}

.vehicle-section p,
.seller-section p,
.buyer-section p {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
}

/* Terms and Conditions */
.terms-section {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.terms-section h3 {
    margin-top: 0;
    color: #d39e00;
    font-size: 18px;
}

.terms-section pre {
    background: white;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ffc107;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
    color: #333;
}

/* Signature Options */
.signature-instruction {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.signature-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.signature-option-btn {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 14px;
}

.signature-option-btn:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.signature-option-btn:active,
.signature-option-btn.active {
    border-color: #0066cc;
    background: #f0f7ff;
}

.option-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.option-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.option-desc {
    font-size: 12px;
    color: #666;
}

.signature-method {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.signature-method label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.signature-method input[type="text"],
.signature-method input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.signature-method input[type="text"]:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.signature-preview {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.signature-preview p {
    margin-top: 0;
    margin-bottom: 10px;
    color: #666;
    font-size: 12px;
}

.signature-display {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    width: 100%;
}
