.angler-fang-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.angler-fang-form h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #34495e;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-group input:required {
    border-left: 4px solid #e74c3c;
}

.form-group input:required:valid {
    border-left: 4px solid #27ae60;
}

.readonly-field {
    background-color: #f8f9fa !important;
    cursor: not-allowed;
}

.form-group small {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-group small a {
    color: #007cba;
    text-decoration: none;
}

.form-group small a:hover {
    text-decoration: underline;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin: 10px 0;
}

.error-message p {
    margin: 5px 0;
}

.login-required {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #bee5eb;
    text-align: center;
    margin: 10px 0;
}

.login-required p {
    margin: 5px 0;
}

.login-button {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background: #005a87;
    color: white;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.submit-btn,
.reset-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background: #27ae60;
    color: white;
}

.submit-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.reset-btn {
    background: #95a5a6;
    color: white;
}

.reset-btn:hover {
    background: #7f8c8d;
}

.form-message {
    margin-top: 20px;
    text-align: center;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

.recent-catches {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.recent-catches h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.recent-catches-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.recent-catches-table th,
.recent-catches-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.recent-catches-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

.recent-catches-table tr:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .angler-fang-form {
        padding: 15px;
        margin: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .reset-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .recent-catches-table {
        font-size: 12px;
    }
    
    .recent-catches-table th,
    .recent-catches-table td {
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .recent-catches-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}