
.dome-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    margin-bottom: 20px;
    text-align: center;
}

.success-message a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.success-message a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.modern-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
    color: white;
    padding: 24px;
    text-align: center;
}

.form-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 300;
}

.form-body {
    padding: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.form-group input[type="text"],
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
    transform: translateY(-1px);
}

.form-group.inline {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-group.inline label {
    min-width: 200px;
    margin-bottom: 0;
}

.help-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4a7c59;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 8px;
    cursor: help;
    transition: all 0.3s ease;
}

.help-icon:hover {
    background: #3d6b4a;
    transform: scale(1.1);
}

.diameter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.diameter-input {
    width: 100px !important;
}

/* Tabbed Notes Section */
.notes-section {
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.notes-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.notes-tab {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notes-tab:hover {
    background: #e9ecef;
    color: #333;
}

.notes-tab.active {
    background: #fff;
    color: #4a7c59;
    border-bottom: 3px solid #4a7c59;
}

.content-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b9b37;
    display: none;
}

.content-indicator.has-content {
    display: block;
}

.notes-content {
    padding: 24px;
    background: #fff;
}

.notes-panel {
    display: none;
}

.notes-panel.active {
    display: block;
}

.notes-panel textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 150px;
    transition: all 0.3s ease;
}

.notes-panel textarea:focus {
    outline: none;
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

/* Action Links */
.action-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e1e5e9;
}

.action-link {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4a7c59, #6b9b37);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
    text-decoration: none;
    color: white;
}

/* Submit Button */
.submit-section {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e1e5e9;
}

.submit-btn {
    background: linear-gradient(135deg, #6b9b37, #8bc34a);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(107, 155, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(107, 155, 55, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dome-form-container {
        padding: 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-body {
        padding: 24px 20px;
    }
    
    .notes-tabs {
        flex-direction: column;
    }
    
    .notes-tab {
        border-bottom: 1px solid #e1e5e9;
        border-right: none;
    }
    
    .notes-tab.active {
        border-bottom: 1px solid #e1e5e9;
        border-left: 3px solid #4a7c59;
    }
    
    .action-links {
        grid-template-columns: 1fr;
    }
    
    .form-group.inline {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group.inline label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .form-header h2 {
        font-size: 1.4rem;
    }
    
    .submit-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
}
