/* Hole Calculator Plugin Styles */
.hc-wrap {
    font-family: 'Segoe UI', Arial, sans-serif;
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

.hc-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a2e;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 10px;
}

/* Form */
.hc-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.hc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 160px;
}

.hc-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

.hc-field input {
    padding: 9px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fff;
}

.hc-field input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

/* Buttons */
.hc-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    background: #0073aa;
    color: #fff;
    align-self: flex-end;
}

.hc-btn:hover {
    background: #005a87;
}

.hc-btn:active {
    transform: scale(0.97);
}

.hc-btn-secondary {
    background: #6c757d;
    font-size: 0.85rem;
    padding: 7px 14px;
}

.hc-btn-secondary:hover {
    background: #545b62;
}

/* Error */
.hc-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px 16px;
    color: #856404;
    margin-bottom: 16px;
}

/* Results */
.hc-results-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hc-results-header h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

/* Table */
.hc-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 24px;
}

.hc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.hc-table thead {
    background: #0073aa;
    color: #fff;
}

.hc-table th,
.hc-table td {
    padding: 10px 14px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.hc-table tbody tr:nth-child(even) {
    background: #f0f6fb;
}

.hc-table tbody tr:hover {
    background: #d6eaf5;
}

/* Canvas */
.hc-canvas-wrap {
    display: flex;
    justify-content: center;
}

#hc-canvas {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
    max-width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .hc-form {
        flex-direction: column;
    }
    .hc-btn {
        width: 100%;
    }
}
