/* css/style.css */
.decretos-2024-app {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 950px;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tab-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    border-bottom: 2px solid #eee;
}

.tab-button {
	flex: 1 0 auto;
    padding: 18px 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.15em;
    color: #666;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button.active {
    background-color: #fff;
    color: #0080c0;
    border-bottom: 4px solid #0080c0;
    font-weight: 500;
}

.tab-button:hover {
    background-color: #f0f0f0;
    color: #444;
}

.tab-content-container {
    padding: 35px;
}

.tab-content {
    display: none;
    animation: content-fade-in 0.5s ease-out;
}

@keyframes content-fade-in {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
    display: block;
}

.loading-message {
    text-align: center;
    color: #999;
    margin-bottom: 30px;
    font-style: italic;
}

.data-list {
    list-style: none;
    padding: 0;
}

.data-list li {
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.data-list li:last-child {
    border-bottom: none;
}

.data-list li:hover {
    background-color: #fafafa;
}

.decreto-item {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.decreto-details {
    flex-grow: 1;
    margin-right: 25px;
}

.decreto-number {
    font-size: 1.3em;
    font-weight: bold;
    color: #3a3a3a;
    margin-bottom: 10px;
}

.decreto-name {
    font-size: 1em;
    color: #7a7a7a;
}


.download-button {
    padding: 14px 24px;
    background-color: #0080c0;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    outline: none; /* Remove default focus outline */
}

.download-button:hover {
    background-color: #006699;
    transform: translateY(-2px);
}

.download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}


.no-data, .error-data {
    padding: 25px;
    text-align: center;
    color: #888;
    font-style: italic;
}

@media screen and (max-width: 420px) {
	.decreto-item {
    	flex-direction: column;
	}
}