/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

/* Header Styles */
header {
    background-color: #00aaff;
    color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #e1e1e1;
}

/* Login Container Styles */
.login-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #00aaff;
    outline: none;
}

.login-container button {
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #00aaff;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #0077cc;
}


/* Main Container Styles */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Intro Section Styles */
.intro-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.intro-section img {
    max-width: 40%;
    height: auto;
    margin-right: 20px;
}

.intro-text {
    max-width: 50%;
}

/* Hero Section Styles */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.hero form {
    display: flex;
    justify-content: center;
}

.hero input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.hero button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #00aaff;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: #0077cc;
}

/* Testimonials Section Styles */
.testimonials {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial-card p {
    font-size: 18px;
    line-height: 1.5;
}

.author {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-nav button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin: 0 5px;
}

.testimonial-nav button:hover {
    background: #0056b3;
}

/* Features Section Styles */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    margin-bottom: 20px;
}

.feature-card img {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

/* Footer Styles */
footer {
    background-color: #00aaff;
    color: #ffffff;
    padding: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #e1e1e1;
}

.footer-social a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #e1e1e1;
}

.footer-bottom {
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
        text-align: center;
    }

    .intro-section img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .intro-text {
        max-width: 100%;
    }

    .pricing-card {
        flex: 1 1 100%;
    }

    .pricing-table {
        gap: 10px;
    }

    .dashboard-container {
        padding: 10px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-header a {
        margin-top: 10px;
    }
}

/* Pricing Styles */
.pricing-table {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Pricing Card Styles */
.pricing-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* For positioning of the features list */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pricing-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.pricing-details li {
    color: #333;
    margin-bottom: 10px;
    font-size: 1em;
    display: flex;
    align-items: center;
}

.pricing-details i {
    color: #00aaff;
    margin-right: 10px;
    font-size: 1.2em;
    flex-shrink: 0;
    /* Prevents the icon from shrinking */
}

.btn-select {
    background-color: #00aaff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn-select:hover {
    background-color: #0077cc;
}

.pricing-card .plan-image {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.pricing-card h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 28px;
    color: #00aaff;
    margin-bottom: 10px;
}

.pricing-card p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Short URL Container Styles */
.short-url-container {
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
}

.short-url-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.short-url-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.short-url-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.short-url-link:hover {
    background-color: #007bff;
    color: #ffffff;
}

.btn-copy {
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-copy i {
    font-size: 18px;
}

.btn-copy:hover {
    background-color: #218838;
}

/* Dashboard Specific Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #00aaff;
    padding-bottom: 10px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.dashboard-header a {
    color: #00aaff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.dashboard-header a:hover {
    color: #0077cc;
    border-bottom: 2px solid #0077cc;
}

/* Dashboard Main Sections */
.dashboard-section {
    margin-bottom: 40px;
}

.dashboard-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #00aaff;
    padding-bottom: 5px;
}

/* URL Table Styles */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #00aaff;
    color: #ffffff;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #e0f7fa;
}

table a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

table a:hover {
    text-decoration: underline;
}

/* Shorten URL Form Styles */
.shorten-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 20px;
}

.shorten-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shorten-section input[type="url"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.shorten-section input[type="url"]:focus {
    border-color: #00aaff;
    outline: none;
}

.shorten-section button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #00aaff;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.shorten-section button:hover {
    background-color: #0077cc;
    transform: translateY(-2px);
}

.shorten-section button:active {
    background-color: #005fa3;
    transform: translateY(0);
}

/* Dashboard Form Styles */
.dashboard-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 20px;
}

.dashboard-form h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #00aaff;
    padding-bottom: 5px;
}

.dashboard-form label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.dashboard-form input[type="text"],
.dashboard-form input[type="url"],
.dashboard-form input[type="email"],
.dashboard-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.dashboard-form input[type="text"]:focus,
.dashboard-form input[type="url"]:focus,
.dashboard-form input[type="email"]:focus,
.dashboard-form select:focus {
    border-color: #00aaff;
    outline: none;
}

.dashboard-form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #00aaff;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dashboard-form button:hover {
    background-color: #0077cc;
    transform: translateY(-2px);
}

.dashboard-form button:active {
    background-color: #005fa3;
    transform: translateY(0);
}

/* Dashboard Save Changes Button Styles */
.save-changes-button {
    padding: 5px 17px;
    font-size: 16px;
    color: #ffffff;
    background-color: #00aaff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-align: center;
}

.save-changes-button:hover {
    background-color: #0077cc;
    transform: translateY(-2px);
}

.save-changes-button:active {
    background-color: #005fa3;
    transform: translateY(0);
}

.save-changes-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 170, 255, 0.5);
}

/* Tambahkan di assets/style.css */
.success-message,
.error-message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
}

.error-message {
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #f44336;
    border-radius: 5px;
    background-color: #ffebee;
    color: #f44336;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}

/* Tambahkan di assets/style.css */

/* Animasi Fade-in dan Slide-in */
@keyframes fadeInSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-form {
    animation: fadeInSlideIn 0.6s ease-out;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.animate-form input[type="url"],
.animate-form input[type="text"] {
    width: calc(100% - 50px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    box-sizing: border-box;
}

.animate-form button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #00aaff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.animate-form button:hover {
    background-color: #008fd6;
}

.error-message {
    color: red;
    margin-bottom: 20px;
}

.edit-form-container {
    display: none;
    margin-top: 10px;
}

.btn-free-trial {
    background-color: #28a745;
    /* Warna hijau untuk tombol Free Trial */
    color: white;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 10px;
    /* Jarak antar tombol */
}

.btn-free-trial:hover {
    background-color: #218838;
    /* Warna hijau gelap saat hover */
}

/* Custom styles for the notification */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    /* Ensure it appears above other content */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Optional: add shadow for better visibility */
}

.register-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.register-link:hover {
    background-color: #0056b3;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sidebar {
    width: 250px;
    background-color: #f4f4f4;
    padding: 20px;
    position: fixed;
    height: 100vh;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    margin-top: 0;
}

.sidebar a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #ddd;
}

.main-content {
    margin-left: 270px;
    padding: 20px;
    flex-grow: 1;
}

/* Custom styles for the logged-in user */
.navbar-user {
    float: right;
    margin-left: 20px;
    line-height: 50px;
}

/* Custom styles for the logged-in user */
.navbar-user {
    float: right;
    margin-left: 20px;
    line-height: 50px;
}